
public class MyTest<T> {
	private T x;
	
	public T getX() {
		return x;
	}

	public void setX(T x) {
		this.x = x;
	}

	public static void main(String[] args) {
		MyTest<String> xxxx = new MyTest<String>();
		xxxx.setX("fsafaf");
		System.out.println(xxxx.getX());
		
	}

}
